package com.hongsheng.util;/*
@author:刘逸思普
@Date:2023/8/22
 */

import com.hongsheng.pojo.Order;

public class ReqBody {
    private Integer currentPage;
    private Integer pageSize;
    private Order order;

    public ReqBody() {
    }

    public ReqBody(Integer currentPage, Integer pageSize, Order order) {
        this.currentPage = currentPage;
        this.pageSize = pageSize;
        this.order = order;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "ReqBody{" +
                "currentPage=" + currentPage +
                ", pageSize=" + pageSize +
                ", order=" + order +
                '}';
    }
}
